package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    // instance variables - replace the example below with your own
    private int id;
    private String name;
    private String address;
    private String zipCode;
    private String city;
    private String phoneNumber;

    /**
     * Constructor for objects of class Person
     */
    public Person(int newId, String newName, String newAddress, String newZipCode, String newCity, String newPhoneNumber)
    {
        // initialise instance variables
        id = newId;
        name = newName;
        address = newAddress;
        zipCode = newZipCode;
        city = newCity;
        phoneNumber = newPhoneNumber;
    }

    /**
     * Returns the person ID
     */
    public int getId()
    {
        return id;
    }
    
    /**
     * Returns the person name
     */
    public String getName()
    {
        return name;
    }
    
    /**
     * Returns the person address
     */
    public String getAddress()
    {
        return address;
    }
    
    /**
     * Returns the person city
     */
    public String getCity()
    {
        return city;
    }
    
    /**
     * Returns the person ZIP code
     */
    public String getZipCode()
    {
        return zipCode;
    }
    
    /**
     * Returns the person phone number
     */
    public String getPhoneNumber()
    {
        return phoneNumber;
    }
}
